using ns0;
using System;
namespace ns5
{
	public sealed class FinderPattern : ResultPoint
	{
		private float float_2;
		private int int_0;
		public float EstimatedModuleSize
		{
			get
			{
				return this.float_2;
			}
		}
		internal int Count
		{
			get
			{
				return this.int_0;
			}
		}
		internal FinderPattern(float float_3, float float_4, float float_5) : base(float_3, float_4)
		{
			this.float_2 = float_5;
			this.int_0 = 1;
		}
		internal void method_0()
		{
			this.int_0++;
		}
		internal bool method_1(float float_3, float float_4, float float_5)
		{
			bool result;
			if (Math.Abs(float_4 - this.Y) <= float_3 && Math.Abs(float_5 - this.X) <= float_3)
			{
				float num = Math.Abs(float_3 - this.float_2);
				result = (num <= 1f || num / this.float_2 <= 1f);
			}
			else
			{
				result = false;
			}
			return result;
		}
	}
}
